package modelLag;


/**
 * Write a description of class Copy here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Copy {
    // instance variables - replace the example below with your own
    private int serialNumber;
    private String purchaseDate;
    private double purchasePrice;
    
    /**
     * Constructor for objects of class Copy
     */
    public Copy(int serialNumber, String purchaseDate, double purchasePrice) {
        //this.dvd = dvd.getBarcode();
        this.serialNumber = serialNumber;
        this.purchaseDate = purchaseDate;
        this.purchasePrice = purchasePrice;
    }

    //set & get for serial Number    
    public void setSerial(int serial) {
        this.serialNumber=serial;        
    }
    public int getSerial() {
        return serialNumber;
    }
    
    // ser & get for purchase date
    public void setPurchaseDate(String purDat) {
        this.purchaseDate = purDat;
    }
    public String getPurchaseDate() {
        return purchaseDate;
    }
    
    //set & get for purchase price
    public void setPurchasePrice(double price) {
        this.purchasePrice = price;
    }
    public double getPurchasePrice() {
        return purchasePrice;
    }   
}
